package com.jkwzms.system.warecarry.web;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.jkwzms.common.inject.annotation.BaseComponent;
import com.jkwzms.common.web.controller.BaseCRUDController;
import com.jkwzms.system.warecarry.entity.JzrqModel;
import com.jkwzms.system.warecarry.service.JzrqService;


@Controller
@RequestMapping(value = "sys/jzrq")
public class JzrqController   extends BaseCRUDController<JzrqModel, String>{
    @Autowired
    @BaseComponent
    private JzrqService jzrqservice;
    
    /**
     * 页面跳转
     * 
     * @return
     */
    @RequestMapping(value = "view")
    public String view() {
        return "sys/warecarry/list";
    }
    
    /**
     * 查询页面数据
     * @return
     */
    @RequestMapping(value = "list")
    public List<JzrqModel> list(){
        return jzrqservice.findAll();
    }
}
